projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a8f3ec
)
Use Qt::ElideRight.
author
Camila Ayres
<hello@camilasan.com>
Tue, 17 Dec 2024 13:44:28 +0000
(14:44 +0100)
committer
Matthieu Gallien
<matthieu.gallien@nextcloud.com>
Thu, 2 Jan 2025 10:02:34 +0000
(11:02 +0100)
Signed-off-by: Camila Ayres <hello@camilasan.com>
src/gui/folderstatusdelegate.cpp
patch
|
blob
|
history
diff --git
a/src/gui/folderstatusdelegate.cpp
b/src/gui/folderstatusdelegate.cpp
index d5f5d6e9e1c6ccecc5024573043893b45ed42c52..45350b469fabbd82c4603b5c22b1549c15c8f121 100644
(file)
--- a/
src/gui/folderstatusdelegate.cpp
+++ b/
src/gui/folderstatusdelegate.cpp
@@
-273,7
+273,7
@@
void FolderStatusDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
subFm.height());
for (const auto &eText : texts) {
- painter->drawText(QStyle::visualRect(option.direction, option.rect, textRect), textAlign, subFm.elidedText(eText, Qt::Elide
Lef
t, textRect.width()));
+ painter->drawText(QStyle::visualRect(option.direction, option.rect, textRect), textAlign, subFm.elidedText(eText, Qt::Elide
Righ
t, textRect.width()));
textRect.translate(0, textRect.height());
}
// restore previous state